


from curl_cffi import requests


id = 0
url = f"https://weibo.com/ajax/feed/hottimeline?refresh=2&group_id=102803&containerid=102803&extparam=discover%7Cnew_feed&max_id={id}&count=10"

headers = {
    "weibo.com": "",
    "GET": "",
    "/ajax/feed/hottimeline?refresh=2&group_id=102803&containerid=102803&extparam=discover%7Cnew_feed&max_id=1&count=10": "",
    "https": "&//weibo.com/newlogin?tabtype=weibo&gid=102803&openLoginLayer=0&url=https%3A%2F%2Fweibo.com%2Fhot%2Fweibo%2F102803",
    "accept": "",
    "application/json,": "text/plain, */*",
    "accept-encoding": "",
    "gzip,": "deflate, br, zstd",
    "accept-language": "",
    "zh-CN,zh;q=0.9,en-US;q=0.8,en;q=0.7": "",
    "cache-control": "",
    "no-cache": "&",
    "client-version": "",
    "v2.47.131": "",
    "cookie": "",
    "XSRF-TOKEN=BvtZUXXgDsRaG5KvGy5Qph7w;": "SUB=_2AkMeV7tof8NxqwFRmv0Uzm3mbIV0ww_EieKoC0qzJRMxHRl-yT9kqlRetRB6NdeVh28r9GTpO_qmRM4xLJznGPl8BBTf; SUBP=0033WrSXqPxfM72-Ws9jqgMF55529P9D9WF4vbRqXzoc9k3O9xZ3jMIE; WBPSESS=Hp_nF-gJDcLT7G8YZA6PvbRzQ4W51jG5ug1z3Oh6s_uh1aNmyss-dtOLgeh1iAE9750zhsWcbsFKui08GOc8oc7ni_hsx0v1S58HDY8-A2BMbiiSQPjmeEg5zkI8_rBewxQmvbSXu1ASuiMG1zESnkNlPMrtxt7AqLIj1ikGElg=",
    "pragma": "",
    "priority": "",
    "u=1,": "i",
    "referer": "",
    "sec-ch-ua": "",
    "\"Chromium\";v=\"142\",": "\"Google Chrome\";v=\"142\", \"Not_A Brand\";v=\"99\"",
    "sec-ch-ua-mobile": "",
    "?0": "",
    "sec-ch-ua-platform": "",
    "\"Windows\"": "",
    "sec-fetch-dest": "",
    "empty": "",
    "sec-fetch-mode": "",
    "cors": "",
    "sec-fetch-site": "",
    "same-origin": "",
    "server-version": "",
    "v2025.11.03.1": "",
    "user-agent": "",
    "Mozilla/5.0": "(Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36",
    "x-requested-with": "",
    "XMLHttpRequest": "",
    "x-xsrf-token": "",
    "BvtZUXXgDsRaG5KvGy5Qph7w": ""
}


res = requests.get(url)
print(res)


